/**
 * Copyright (C) <2023> <Boundivore> <boundivore@foxmail.com>
 * <p>
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the Apache License, Version 2.0
 * as published by the Apache Software Foundation.
 * <p>
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * Apache License, Version 2.0 for more details.
 * <p>
 * You should have received a copy of the Apache License, Version 2.0
 * along with this program; if not, you can obtain a copy at
 * http://www.apache.org/licenses/LICENSE-2.0.
 */
@tailwind base;
@tailwind components;
@tailwind utilities;

html {
	width: 100%;
	height: 100%;
}
body {
	margin: 0;
	height: 100%;
	overflow-y: hidden;
}

.ant-table {
	min-height: 280px;
}

.data-light-table {
	.ant-table-row {
		height: 80px;
	}
}

.data-light-log {
	.ant-collapse-content-box {
		padding: 0 !important;
		border-width: 0 !important;

		.indent-small {
			.ant-collapse-header {
				padding-left: 26px !important;
			}
		}
		.indent-middle {
			.ant-collapse-header {
				padding-left: 36px !important;
			}
		}
		.indent-big {
			.ant-collapse-header {
				padding-left: 46px !important;
			}
		}
	}
}

#code-editor {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.no-title-border {
	.ant-card-head{
		border-bottom: 0px !important;
	}
	.ant-card-body{
		padding-right: 0px !important;
		padding-top: 32px !important;
	}
}
.no-padding-left {
	.ant-card-body{
		padding-left: 0px !important;
	}
}
/* 确保下拉菜单有足够高的 z-index */
:global(.ant-dropdown) {
	z-index: 1000000 !important;
  }